package edu.nf.ch06.abs;

import edu.nf.ch06.product.*;

/**
 * @author CSY
 * @date 2025 - 04 - 15
 *
 * 抽象工厂负责创建同一产品族的产品
 */
public class XiaomiFactory implements AbstractFactory{
    @Override
    public Phone createPhone() {
        return new MiPhone();
    }

    @Override
    public Pad createPad() {
        return new MiPad();
    }
}
